//
//  QMUITextField+BRExpand.m
//  BrezzeSaaS
//
//  Created by IOS on 2022/2/23.
//  Copyright © 2022 Brezze GWG. All rights reserved.
//

#import "QMUITextField+BRExpand.h"

@implementation QMUITextField (BRExpand)

- (void)br_changeDelegeIcon:(BOOL)isDark {
    UIButton *clean = [self valueForKey:@"_clearButton"]; //key是固定的
    NSString *imgStr = isDark == YES ? @"btTextField_clear" : @"btTextField_clear";
    [clean setImage:[UIImage imageNamed:imgStr] forState:UIControlStateNormal];
}

@end
